<?php session_start() ?>
<html>
	<head>
		<meta charset="utf-8">
		<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js">
		<script>
			
		</script>
	</head>

	
	<body>
		
		<?php  if ($_GET['name']) echo '欢迎' . $_GET['name'];  ?>	
		
		<form action="5.php" method="get">
			<input name="name" type="text"  />
			<input type="submit" value="试试！"/>
		</form>
		
		这是第<?php echo ++$_SESSION['acc']; ?>次访问	
		

	</body>
</html>